package com.anywhere.freightman.order.dao;

import com.anywhere.freightman.common.BaseMapper;
import com.anywhere.freightman.order.model.GoodsModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface GoodsDao extends BaseMapper<GoodsModel> {

    @Select("select * from goods where order_no=#{orderNo}")
    List<GoodsModel> getListByOrderNo(String orderNo);
}
